<?php
namespace Wang\Core;

class Loader {

	static function autoload($class_name){
		$str_path = __ROOT__.'/'.$class_name.'.class.php';
		$str_path = str_replace('\\', '/', $str_path);

		if(!substr_count($class_name,'Smarty')){
			require_once $str_path;
		}
		
	}

}